<extend name="Public/common" />
<block name="body">

<div class="mywp">
	<input type="text" name="card" class="cardt" placeholder="请输入识别码">
	<div class="card">
		<!--<input name="submit" class="sub" type="submit" value="确定">-->
		<a id="submit">确定</a>
	</div>
</div>
	<script src="__WECHAT__/js/zepto.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		function validation() {
			var str = $.trim($(".cardt").val());
			if(str=='') {
				salert("对不起，请输入卡号!");
				return false;
			}else{
				return true;
			}
		}
		$('#submit').click(function(){
			if(validation()){
				window.location = "{:C('SITE_URL')}wechat/index/submitCard?card=" + $.trim($(".cardt").val());
			}
		});

	</script>
</block>
